Repository navigation
feat(english): add CClaw Translations source - #2874
Conversation
[Medium impact] The change adds one new source for readers who use CClaw Translations. The PR appears safe to merge, with a non-blocking correction needed for status lookup failures. Findings
SummaryAdds the CClaw Translations source and its icon.
Reviews (1) · Last reviewed commit: "feat(english): add CClaw Translations so..." · Reviewed by Greptile |
| } catch { | ||
| return false; |
There was a problem hiding this comment.
Finished novels appear ongoing
isCompleted returns false whenever the completed-projects request fails. If the contents page loads but this second request times out or returns an HTTP error, parseNovel marks even a completed novel as ongoing. Leave status unset when the lookup fails instead of treating an unavailable list as proof that the novel is ongoing.
There was a problem hiding this comment.
Fixed in b5a7c35: isCompleted now returns undefined when the completed-projects list cannot be fetched, and parseNovel leaves status unset in that case instead of reporting Ongoing.
Summary
Adds CClaw Translations (https://cclawtranslations.home.blog), an English fan-translation blog of Japanese light novels hosted on WordPress.com, as a standalone source (
plugins/english/cclawtranslations.ts, idcclawtranslations, v1.0.0, with icon).Fixes #292
Screenshots
These screenshots come from the repository's plugin playground (headless Chromium, live site data), not from the LNReader app.
Testing
npm run build:fullexits 0.npm run check:plugin -- plugins/english/cclawtranslations.ts: popularNovels (33 novels), searchNovels, parseNovel (24 chapters) and parseChapter all PASS.This change was written and tested by an AI coding agent (Claude) and reviewed by an automated pipeline only. No human has reviewed it yet.
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
npm cinpm run check:plugin -- plugins/english/cclawtranslations.ts✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.